From: Chong Yidong Date: Fri, 13 Feb 2009 14:21:30 +0000 (+0000) Subject: Include time.h unconditionally. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~421^2~1808 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3f1a65c5de53d44c7212aadbd7b462b79c4df540;p=emacs.git Include time.h unconditionally. (main): Use time_t for time variables. --- diff --git a/lib-src/movemail.c b/lib-src/movemail.c index d9443740b4b..70efce881c5 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -60,6 +60,7 @@ along with GNU Emacs. If not, see . */ #include #include #include +#include #include #ifdef HAVE_UNISTD_H @@ -375,7 +376,7 @@ main (argc, argv) int lockcount = 0; int status = 0; #if defined (MAIL_USE_MAILLOCK) && defined (HAVE_TOUCHLOCK) - long touched_lock, now; + time_t touched_lock, now; #endif setuid (getuid ()); @@ -684,7 +685,6 @@ xmalloc (size) #endif #include #include -#include #define NOTOK (-1) #define OK 0